import React, { Component } from 'react'

export default class App extends Component {
  
  state = {
    user: 'state'
  }

  componentDidMount() {
    console.log('componentDidMount')
  }

  render() {
    console.log('render')

    return (
      <div>
        {this.state.user}
      </div>
    )
  }
}
